package com.ltxtiyu.video.common;

import java.util.HashMap;
import java.util.Map;

public class SecurityConstant {

    public static final String REQUEST_METHOD_POST = "POST";
    public static final String CHANNEL_ANDROID = "0";
    public static final String CHANNEL_IOS = "1";
    public static final String CHANNEL_WX = "2";
    public static final String CHANNEL_M_SITE = "3";
    public static final String CHANNEL_ANDROID_IOS = "5";
    
    public static final String TOKEN_TYPE_APP = "app";
    public static final String TOKEN_TYPE_M_SITE = "m_site";

    public static final Map<String, String> APPKEY_MAP = new HashMap<String, String>();
    public static final String APPKEY_ANDROID = "5c0f7d5af1f556faf900011a";
    public static final String APPKEY_IOS = "5c17118df1f55689ed0000ac";
    public static final String APPKEY_WX = "B6098CA27DE54BDAB06D033ED7E0E87D";
    public static final String APPKEY_M_SITE = "B6098CA27DE54BDAB06D033ED7E0E87D";
    public static final String APPSECRET_ANDROID = "4umsuock44obffvjnkasb8bpqvro3g4n";
    public static final String APPSECRET_IOS = "7svkbdbvbbfqrea11hsi3qvtynchmaxv";
    public static final String APPSECRET_WX = "3713F0AF262713FB";
    public static final String APPSECRET_M_SITE = "3713F0AF262713FB";

    static {
        APPKEY_MAP.put(APPKEY_ANDROID, APPSECRET_ANDROID);
        APPKEY_MAP.put(APPKEY_IOS, APPSECRET_IOS);
        APPKEY_MAP.put(APPKEY_WX, APPSECRET_WX);
        APPKEY_MAP.put(APPKEY_M_SITE, APPSECRET_M_SITE);
    }
}
